package com.finance.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: Apollo
 * @Date: 2021/4/10
 * @Description:  审核贷款产品记录
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "record_approval_loan_product")
public class RecordApprovalLoanProduct implements Serializable {

    /**
     * 主键
     */
    private Integer id;

    /**
     * 标识
     */
    @TableId(type = IdType.ASSIGN_ID)
    @TableField(fill = FieldFill.INSERT)
    private String code;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 是否删除 1:否 2:是
     */
    private Integer isDelete;

    /**
     * 是否通过 1:通过 2:不通过
     */
    private Integer isPass;

    /**
     * 备注
     */
    private String des;

    /**
     * 贷款产品标识
     */
    private String loanProductCode;






    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CODE = "code";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_IS_DELETE = "is_delete";

    public static final String COL_IS_PASS = "is_pass";

    public static final String COL_DES = "des";

    public static final String COL_LOAN_PRODUCT_CODE = "loan_product_code";

}